﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RazorTemplateEngine
{
    public class TemplateController
    {
        public TemplateDataDictionary TemplateData { get; set; }
        protected TemplateController()
        {
            TemplateData = new TemplateDataDictionary();
 
        }

        public virtual TemplateResult Template(string path)
        {
            TemplateResult result = new TemplateResult();
            result.TemplateData = this.TemplateData;
            result.OriginalTemplatePath = path;
            return result;
        }

    }
}
